package com.syni.mdd.sjb.common.component.mybatis.dxshapp.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import java.time.LocalDateTime;
import java.io.Serializable;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 小程序资质信息表
 * </p>
 *
 * @author lcc
 * @since 2020-05-18
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
public class DxshAppMinappAuth implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 小程序资质id
     */
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    /**
     * 渠道ID
     */
    private Integer channelId;

    /**
     * 资质ID
     */
    private Integer authId;

    /**
     * 店铺id
     */
    private Integer userId;

    private Integer businessId;

    /**
     * 营业执照类型
     */
    private Integer licenseType;

    /**
     * 注册号
     */
    private String licenseNo;

    /**
     * 名称
     */
    private String licenseName;

    /**
     * 开始时间（营业执照）
     */
    private LocalDateTime licenseStartTime;

    /**
     * 结束时间（营业执照）
     */
    private LocalDateTime licenseExpired;

    /**
     * 营业执照是否永久有校
     */
    private Integer isExpired;

    /**
     * 营业执照
     */
    private String licenseImg;

    /**
     * 身份名字
     */
    private String identityName;

    /**
     * 身份类型
     */
    private Integer identityType;

    /**
     * 证件号
     */
    private String identityNo;

    /**
     * //身份证有效期
     */
    private LocalDateTime identityStartTime;

    /**
     * //身份证有效期
     */
    private LocalDateTime identityExpired;

    private Integer isIdentityExpired;

    /**
     * 正反两面(正面)
     */
    private String identityPoImg;

    /**
     * 正反两面（背面）
     */
    private String identityBaImg;

    /**
     * 法人微信号
     */
    private String wechatAccount;

    /**
     * 安全许可证图片
     */
    private String safeLicense;

    /**
     * 法人手机号
     */
    private String phone;

    /**
     * 法人姓名
     */
    private String legalPersonName;

    /**
     * 小程序头像
     */
    private String minHeadImg;

    /**
     * 小程序名称
     */
    private String minName;

    /**
     * 小程序简介
     */
    private String minIntroduce;

    /**
     * 许可证
     */
    private String companyCertificates;

    /**
     * 邮箱地址
     */
    private String emailAddress;

    /**
     * 客户电话
     */
    private String customerTelephone;

    private LocalDateTime newTime;

    public static final String ID = "id";

    public static final String CHANNEL_ID = "channel_id";

    public static final String AUTH_ID = "auth_id";

    public static final String USER_ID = "user_id";

    public static final String BUSINESS_ID = "business_id";

    public static final String LICENSE_TYPE = "license_type";

    public static final String LICENSE_NO = "license_no";

    public static final String LICENSE_NAME = "license_name";

    public static final String LICENSE_START_TIME = "license_start_time";

    public static final String LICENSE_EXPIRED = "license_expired";

    public static final String IS_EXPIRED = "is_expired";

    public static final String LICENSE_IMG = "license_img";

    public static final String IDENTITY_NAME = "identity_name";

    public static final String IDENTITY_TYPE = "identity_type";

    public static final String IDENTITY_NO = "identity_no";

    public static final String IDENTITY_START_TIME = "identity_start_time";

    public static final String IDENTITY_EXPIRED = "identity_expired";

    public static final String IS_IDENTITY_EXPIRED = "is_identity_expired";

    public static final String IDENTITY_PO_IMG = "identity_po_img";

    public static final String IDENTITY_BA_IMG = "identity_ba_img";

    public static final String WECHAT_ACCOUNT = "wechat_account";

    public static final String SAFE_LICENSE = "safe_license";

    public static final String PHONE = "phone";

    public static final String NEW_TIME="new_time";

}
